import Vue from 'vue'
import App from './App.vue'
import router from './router' // router
import store from './store'
// 导入全局样式
import '@/assets/scss/Common.scss'
// 引入Element-ui
import ElementUI from 'element-ui'
// 引入Element-ui样式
import 'element-ui/lib/theme-chalk/index.css'
// 引入momentjs库
import moment from 'moment' // 时间转换
// 引入公共方法库
import CommonFunction from '@/utils/CommonFunction'
import lodashjs from 'lodash'
Vue.prototype.$lodashjs = lodashjs
Vue.prototype.$moment = moment // 时间转换
Vue.prototype.CommonFunction = CommonFunction // 引入公共方法库
Vue.config.productionTip = false
Vue.use(ElementUI)
// 引入echarts
import * as echarts from 'echarts'
Vue.prototype.$echarts = echarts
new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
